<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8"></meta>
  <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
  <title>计量申报</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"></meta>
  <script type="text/javascript" src="../js/pub-lib/jquery.min.js"></script>
  <script type="text/javascript" src="../js/pub-lib/bootstrap.min.js"></script>
  <script th:src="@{/js/pub-lib/plugins/easyui/jquery.easyui.min.js}"></script>
  <script th:src="@{/js/pub-lib/plugins/daterangepicker/moment.js}"></script>
  <script th:src="@{/js/pub-lib/plugins/daterangepicker/daterangepicker.js}"></script>
  <script type="text/javascript" src="../js/pub-lib/bootstrap-datepicker.min.js"></script>
  <script type="text/javascript" src="../js/pub-lib/icheck.min.js"></script>
  <script type="text/javascript" src="../js/pub-lib/select2.full.min.js"></script>
  <script type="text/javascript">
    $(function () {
        //页码
        $('#page,#page2,#page3').pagination({
        	total:2000,
        	pageSize: 10,//每页显示的记录条数，默认为10
        	pageList: [10,20,30],//可以设置每页记录条数的列表
        	beforePageText: '第',//页数文本框前显示的汉字
        	afterPageText: '页    共 200  页',
        	displayMsg: '当前显示 1 - 10 条记录 共10  条记录',
        	onSelectPage:function(pageNumber, pageSize){//当用户选择新的页面时触发
        	}
   　　 });
        //复选框
        $('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
          checkboxClass: 'icheckbox_minimal-blue',
          radioClass   : 'iradio_minimal-blue'
        });
        //下拉框
        $('.select2').select2();
    })
  </script>
</head>
<body class="hold-transition skin-blue sidebar-mini" style="background:#f5f6f8;">
    <!--标题-->
    <section class="content-header">
      <h1>
        管理系统
        <small>计量申报</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="javascript:;"><i class="fa fa-home"></i>首页</a></li>
        <li><a href="javascript:;">合同管理</a></li>
        <li class="active">计量申报</li>
      </ol>
    </section>

    <!--内容-->
    <section class="content">
      <div class="box box-default">
        <div class="box-header with-border">
          <div class="row">
            <div class="col-md-12">

              <div class="form-inline">
                  <div class="form-group">
                    <label>实施项目名称：</label>
                    <input type="text" class="form-control" placeholder="请输入实施项目名称"/>
                  </div>
                  <div class="form-group">
                    <label>合同编号：</label>
                    <input type="text" class="form-control" placeholder="请输入合同编号"/>
                  </div>
                  <div class="form-group">
                    <label>合同名称：</label>
                    <input type="text" class="form-control" placeholder="请输入合同名称"/>
                  </div>
                <button class="btn btn-info"><i class="fa fa-search"></i> 查询</button>
                <button class="btn btn-border" data-toggle="modal" data-target="#addEditModal"><i class="fa fa-plus"></i> 新增</button>
              </div>

            </div>
          </div>
        </div>
        <div class="box-body">
          <div class="col-sm-12 myTable noLeftPadding noRightPadding">
                <table class="table table-bordered table-striped">
                  <thead>
                    <tr>
                      <th>序号</th>
                      <th>实施项目名称</th>
                      <th>合同编号</th>
                      <th>合同名称</th>
                      <th>总金额</th>
                      <th>合同条款</th>
                      <th>合同分项</th>
                      <th>数量</th>
                      <th>金额</th>
                      <th>支付金额</th>
                      <th>申请时间</th>
                      <th>备注</th>
                      <th>状态</th>
                      <th class="fontCenter">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr>
                      <td rowspan="2">1</td>
                      <td rowspan="2">001</td>
                      <td rowspan="2">名称</td>
                      <td rowspan="2">类型1</td>
                      <td rowspan="2">121</td>
                      <td>条款1</td>
                      <td>分项</td>
                      <td>121</td>
                      <td>122</td>
                      <td>122</td>
                      <td>2018-01-12</td>
                      <td>122</td>
                      <td>已支付</td>
                      <td class="fontCenter"></td>
                    </tr>
                    <tr>
                      <td>条款1</td>
                      <td>分项</td>
                      <td>121</td>
                      <td>122</td>
                      <td>122</td>
                      <td>2018-01-12</td>
                      <td>122</td>
                      <td>待审核</td>
                      <td class="fontCenter">
                        <a href="javascript:;" data-toggle="modal" data-target="#addEditModal">修改</a>
                        <a href="javascript:;">删除</a>
                      </td>
                    </tr>
                    <tr>
                      <td rowspan="2">2</td>
                      <td rowspan="2">001</td>
                      <td rowspan="2">名称</td>
                      <td rowspan="2">类型1</td>
                      <td rowspan="2">121</td>
                      <td>条款1</td>
                      <td>分项</td>
                      <td>121</td>
                      <td>122</td>
                      <td>122</td>
                      <td>2018-01-12</td>
                      <td>122</td>
                      <td>已支付</td>
                      <td class="fontCenter"></td>
                    </tr>
                    <tr>
                      <td>条款1</td>
                      <td>分项</td>
                      <td>121</td>
                      <td>122</td>
                      <td>122</td>
                      <td>2018-01-12</td>
                      <td>122</td>
                      <td>待审核</td>
                      <td class="fontCenter">
                        <a href="javascript:;" data-toggle="modal" data-target="#addEditModal">修改</a>
                        <a href="javascript:;">删除</a>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <div class="myPage">
                  <div id="page"></div>
                </div>
              </div>
        </div>
      </div>
    </section>
  <div class="control-sidebar-bg"></div>

<!--审批结果-->
<div class="modal fade  bs-example-modal-lg" id="addEditModal" >
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">审批结果</h4>
      </div>
      <div class="modal-body">
            <div class="row noMargin">
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>实施项目：</label>
                      <div class="input-group">
                        <input type="text" class="form-control" disabled="disabled"/>
                        <span class="input-group-btn">
                          <button class="btn btn-default" type="button" data-toggle="modal" data-target="#itemSearchModal">
                            <i class="fa fa-search"></i>
                          </button>
                        </span>
                      </div>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>合同名称：</label><br/>
                      <select class="form-control select2">
                        <option selected="selected">名称1</option>
                        <option>名称2</option>
                      </select>
                    </div>
                  </div>
                <div class="col-sm-6">
                  <div class="form-group">
                    <label>可申请金额：</label>
                    <input type="text" class="form-control"/>
                  </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                      <label>合同条款：</label><br/>
                      <select class="form-control select2">
                        <option selected="selected">条款1</option>
                        <option>名称2</option>
                      </select>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>合同分项：</label><br/>
                      <select class="form-control select2">
                        <option selected="selected">分项1</option>
                        <option>名称2</option>
                      </select>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>数量：</label>
                      <input type="text" class="form-control"  disabled="disabled"/>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>金额：</label>
                      <input type="text" class="form-control"  disabled="disabled"/>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>支付金额：</label>
                      <input type="text" class="form-control"/>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>支付比例：</label>
                      <input type="text" class="form-control"  disabled="disabled"/>
                    </div>
                  </div>
                  <div class="col-sm-12">
                    <div class="form-group">
                      <label>备注：</label>
                      <textarea class="form-control" rows="3" placeholder="请输入备注"></textarea>
                    </div>
                  </div>
            </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary">保存</button>
      </div>
    </div>
  </div>
</div>

<!--项目搜索界面-->
<div class="modal fade bs-example-modal-lg" id="itemSearchModal" >
  <div class="modal-dialog modal-lg myModal_lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">项目搜索</h4>
      </div>
      <div class="modal-body modalGrayBg">
        <!--内容开始-->
        <div class="box box-default">
          <div class="box-header with-border">
            <h3 class="box-title">条件查询</h3>
          </div>
          <div class="box-body">
            <div class="row">
              <div class="col-md-12">

                <div class="form-inline">
                  <div class="form-group">
                    <label>所属规划：</label>
                      <select class="form-control select2">
                        <option selected="selected">2121</option>
                        <option>121</option>
                        <option>323</option>
                      </select>
                  </div>
                  <div class="form-group">
                    <label>工程名称：</label>
                    <input type="text" class="form-control" placeholder="请输入工程名称"/>
                  </div>
                  <div class="form-group">
                    <label>实施项目名称：</label>
                    <input type="text" class="form-control" placeholder="请输入实施项目名称"/>
                  </div>
                    <div class="form-group">
                      <label>建设单位：</label>
                      <div class="input-group">
                        <input type="text" class="form-control" disabled="disabled"/>
                        <span class="input-group-btn">
                          <button class="btn btn-default" type="button" data-toggle="modal" data-target="#unitSearchModal">
                            <i class="fa fa-search"></i>
                          </button>
                        </span>
                      </div>
                    </div>
                  <button type="submit" class="btn btn-info"><i class="fa fa-search"></i> 查询</button>
                </div>

              </div>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-xs-12">
            <div class="box">
              <div class="box-header with-border">
                <h3 class="box-title">查询列表</h3>
              </div>
              <div class="box-body">
                <div class="col-sm-12 myTable">
                  <table class="table table-bordered table-striped">
                    <thead>
                      <tr>
                        <th rowspan="2" class="fontCenter">选择</th>
                        <th rowspan="2">序号</th>
                        <th rowspan="2">实施项目名称</th>
                        <th rowspan="2">规划工程名称</th>
                        <th rowspan="2">建设单位</th>
                        <th rowspan="2">开工年</th>
                        <th rowspan="2">完工年</th>
                        <th rowspan="2">项目负责人</th>
                        <th rowspan="2">项目联系人</th>
                        <th rowspan="2">联系人电话</th>
                        <th rowspan="2">建设内容</th>
                        <th rowspan="2">当前阶段</th>
                        <th rowspan="2">进展描述</th>
                        <th colspan="6" class="fontCenter noBottomPadding">阶段资金构成（单位：万元）</th>
                        <th rowspan="2" class="fontCenter">状态</th>
                      </tr>
                      <tr>
                        <th class="fontCenter fontGray">合计</th>
                        <th class="fontCenter fontGray">部补助</th>
                        <th class="fontCenter fontGray">省财政</th>
                        <th class="fontCenter fontGray">政府融资</th>
                        <th class="fontCenter fontGray">市州配套</th>
                        <th class="fontCenter fontGray">企业自筹</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td class="fontCenter"><input type="radio" name="item" class="minimal" checked="checked"></td>
                        <td>001</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>2017</td>
                        <td>2018</td>
                        <td><a href="javascript:;" data-toggle="modal" data-target="#projectContentModal">uwqiqwq</a></td>
                        <td>100021</td>
                        <td>100021</td>
                        <td class="fontCenter">12</td>
                        <td class="fontCenter">23</td>
                        <td class="fontCenter">23</td>
                        <td class="fontCenter">45</td>
                        <td class="fontCenter">45</td>
                        <td class="fontCenter">67</td>
                        <td class="fontCenter">状态</td>
                      </tr>
                      <tr>
                        <td class="fontCenter"><input type="radio" name="item" class="minimal"></td>
                        <td>001</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>100021</td>
                        <td>2017</td>
                        <td>2018</td>
                        <td><a href="javascript:;" data-toggle="modal" data-target="#projectContentModal">uwqiqwq</a></td>
                        <td>100021</td>
                        <td>100021</td>
                        <td class="fontCenter">12</td>
                        <td class="fontCenter">23</td>
                        <td class="fontCenter">23</td>
                        <td class="fontCenter">45</td>
                        <td class="fontCenter">45</td>
                        <td class="fontCenter">67</td>
                        <td class="fontCenter">状态</td>
                      </tr>
                    </tbody>
                  </table>
                  <div class="myPage">
                    <div id="page2"></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      <!--内容结束-->
      </div>

      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary">确定</button>
      </div>
    </div>
  </div>
</div>

<!--单位搜索界面-->
<div class="modal fade bs-example-modal-lg" id="unitSearchModal" >
  <div class="modal-dialog modal-lg myModal_lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">单位搜索</h4>
      </div>
      <div class="modal-body modalGrayBg">
        <!--内容开始-->
        <div class="box box-default">
          <div class="box-header with-border">
            <h3 class="box-title">条件查询</h3>
          </div>
          <div class="box-body">
            <div class="row">
              <div class="col-md-12">

                <div class="form-inline">
                  <div class="form-group">
                    <label>单位类型：</label>
                      <select class="form-control select2">
                        <option selected="selected">建设单位</option>
                        <option>监理单位</option>
                        <option>承接单位</option>
                      </select>
                  </div>
                  <div class="form-group">
                    <label>单位名称：</label>
                    <input type="text" class="form-control" placeholder="请输入单位名称"/>
                  </div>
                  <button type="submit" class="btn btn-info"><i class="fa fa-search"></i> 查询</button>
                </div>

              </div>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-xs-12">
            <div class="box">
              <div class="box-header with-border">
                <h3 class="box-title">查询列表</h3>
              </div>
              <div class="box-body">
                <div class="col-sm-2 noLeftPadding">
                  <div class="treeMenu">
                    <ul class="easyui-tree">
                      <li>
                          <span>单位类型</span>
                          <ul>
                              <li>
                                  <span>建设单位</span>
                                  <ul>
                                      <li><span>三级菜单</span></li>
                                      <li><span>三级菜单</span></li>
                                      <li><span>三级菜单</span></li>
                                  </ul>
                              </li>
                              <li><span>监理单位</span></li>
                              <li><span>承接单位</span></li>
                          </ul>
                      </li>
                    </ul>
                  </div>
                </div>
                <div class="col-sm-10 myTable">
                  <table class="table table-bordered table-striped">
                    <thead>
                      <tr>
                        <th class="fontCenter">选择</th>
                        <th>序号</th>
                        <th>单位名称</th>
                        <th>单位地址</th>
                        <th>单子地址</th>
                        <th class="fontCenter">状态</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td class="fontCenter"><input type="radio" name="unit" class="minimal"></td>
                        <td>001</td>
                        <td>100021</td>
                        <td>长沙</td>
                        <td>长沙</td>
                        <td class="fontCenter">状态</td>
                      </tr>
                      <tr>
                        <td class="fontCenter"><input type="radio" name="unit" class="minimal"></td>
                        <td>001</td>
                        <td>100021</td>
                        <td>长沙</td>
                        <td>长沙</td>
                        <td class="fontCenter">状态</td>
                      </tr>
                      <tr>
                        <td class="fontCenter"><input type="radio" name="unit" class="minimal"></td>
                        <td>001</td>
                        <td>100021</td>
                        <td>长沙</td>
                        <td>长沙</td>
                        <td class="fontCenter">状态</td>
                      </tr>
                      <tr>
                        <td class="fontCenter"><input type="radio" name="unit" class="minimal"></td>
                        <td>001</td>
                        <td>100021</td>
                        <td>长沙</td>
                        <td>长沙</td>
                        <td class="fontCenter">状态</td>
                      </tr>
                    </tbody>
                  </table>
                  <div class="myPage">
                    <div id="page3"></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      <!--内容结束-->
      </div>

      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary">确定</button>
      </div>
    </div>
  </div>
</div>

</body>
</html>
